package com.bank.manage.model;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * Wallet -- 钱包记录表
 * </p>
 *
 * @author grl
 * @since 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table("bank_access_wallet_record")
public class BankAccessWalletRecord implements Serializable {

private static final long serialVersionUID=1L;

    @Id(keyType= KeyType.Auto)
    private Long id;

    /**
     * 用户编号
     */
    @NotEmpty
    private String userNum;

    /**
     * 请求链路唯一值
     */
    private String requestId;
    /**
     * 访问的设备编号
     */
    private String accessDevice;
    /**
     * 访问设备名称
     */
    private String accessDeviceInfo;
    /**
     * 访问Ip
     */
    private String accessIp;
    /**
     * Ip 归属地
     */
    private String accessRegion;
    /**
     * 点击的入口
     */
    private String clickEntry;

    /**
     * 钱包编号
     */
    private String walletNum;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 请求json参数
     */
    private String requestJson;


}
